//登录管理模块API
import axios from '../axios'

//登录
export const login = (data) => {
  return axios({
    url: '/login',
    method: 'post',
    data: data
  })
};

//登出
export const logout = () => {
  return axios({
    url: '/logout',
    method: 'get'
  })
};
